package com.wanyang.mapper;

import com.wanyang.dos.GoldRecordDO;
import com.wanyang.dos.GoldRecordDOExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoldRecordDOMapper {
    long countByExample(GoldRecordDOExample example);

    int deleteByExample(GoldRecordDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoldRecordDO record);

    int insertSelective(GoldRecordDO record);

    GoldRecordDO selectOneByExample(GoldRecordDOExample example);

    List<GoldRecordDO> selectByExample(GoldRecordDOExample example);

    GoldRecordDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoldRecordDO record, @Param("example") GoldRecordDOExample example);

    int updateByExample(@Param("record") GoldRecordDO record, @Param("example") GoldRecordDOExample example);

    int updateByPrimaryKeySelective(GoldRecordDO record);

    int updateByPrimaryKey(GoldRecordDO record);
}